package model

type Inventory struct {
	BaseModel
	Goods   int32 `gorm:"type:int;index;default:0;not null"`
	Stocks  int32 `gorm:"type:int;default:0;not null"`
	Version int32 `gorm:"type:int;default:0;not null"`
}

type InventoryNew struct {
	Inventory
	Freeze int32 `gorm:"type:int"`
}
